package com.tcm.entity.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 试卷详细数据封装
 * @author Guqier
 * @version 1.0
 * @date 2023/8/2 12:08
 */
@Data
public class TestPaperDetailDto {

    private Long id;// testPaperId

    private Long testPaperId;// 试卷ID

    @NotNull(message = "type不能为空")
    private Integer type;// 题型，0主观题，1填空题

    @NotNull(message = "itemId不能为空")
    private Long itemId;// 题目ID

    private String rank;// 填空题题目难度

    @NotNull(message = "sequence不能为空")
    private Integer sequence;// 排序，决定试卷中题目顺序

}
